module.exports = {
    template: require("./tpl/search.htm"),
    props: {
        search_data: String
    },
    data: function () {
        return {key: ''}
    },
    methods: {
        search: function (key) {
            this.$emit('input', key);
        }
    }
};